package com.booking.service;

import com.booking.controller.model.req.user.LoginReq;
import com.booking.controller.model.req.user.UserCertificationReq;
import com.booking.controller.model.req.user.UserCreateReq;
import com.booking.controller.model.req.user.UserUpdateReq;
import com.booking.controller.model.res.UserDetail;
import com.booking.dao.entity.UserInfo;

/**
 * @author Qikai.Lin
 * @date 2023/4/21
 */
public interface UserService {
    UserInfo login(LoginReq request);
    void certification(UserCertificationReq request);
    UserInfo create(UserCreateReq request);
    void updateById(UserUpdateReq request);

    UserDetail getDetail(Long userId);
    void delete(Long userId);


}
